class Test(object):
    def __init__(self, a):
        self.a = a

    def run(self):
        import inspect

        print(f"# {inspect.currentframe().f_lineno} -- {self.a}")


print("\033[H\033[J", end="")

t = Test(1)
t.run()
